#!/bin/bash

for file in $(find . -name "*.list.tmp")
do
	iconv -f ISO-8859-15 -t UTF-8 "$file" -o "${file/.tmp/.tmp2}"
	if [ $? -ne 0 ]; then exit 1; fi
	mv "${file/.tmp/.tmp2}" "$file"
	if [ $? -ne 0 ]; then exit 1; fi
done
